package com.mgfireworks.mgplatform.test.sqlexample;

import java.util.List;

import org.springframework.stereotype.Service;

import com.mgfireworks.mgplatform.test.sqlexample.model.Province;

import cn.hn.java.summer.db.BaseDao;
import cn.hn.java.summer.db.multiple.DataSource1;

@Service
public class ExampleService extends BaseDao<DataSource1>{

	
	public List<Province> getProvinces(Province p){
		return this.list("getProvinces", Province.class, p);
	}
}
